<template>
	<view class="wrap">
		<price-list></price-list>
		<price-intro :currPrice="currPrice"></price-intro>
	</view>
</template>

<script>
	import PriceList from './components/PriceList'
	import PriceIntro from './components/PriceIntro'
	export default {
		components:{
			PriceList,
			PriceIntro
		},
		data(){
			return{
				currPrice:0
			}
		},
		onLoad(options){
			this.currPrice = options.buyDays == 180 ? 899 : 1599;
		},
	}
</script>

<style lang="scss">
	.wrap{
		padding: 30rpx 30rpx 0;
	}
	page{
		background: $pss-bg-primary;
	}
</style>